package dao;

import bean.dto.EquipmentPage;
import bean.pojo.ComplaintRecord;
import bean.pojo.Maintenance;

import java.util.List;

/**
 * dao
 * User: xlh
 * Date: 2024/12/21 15:28
 * motto:推到高塔
 * Description:
 * Version: V1.0
 */
public interface ComplaintRecordDao {
    List<ComplaintRecord> findByPage(EquipmentPage equipmentPage);

    Long findByTotal(EquipmentPage equipmentPage);

    boolean updatComplaintRecord(ComplaintRecord complaintRecord);

    boolean createComplaintRecord(ComplaintRecord complaintRecord);
}
